@charset "UTF-8";
.anli_h_text{
  margin-top: 98px;
  margin-bottom: 54px;
  font-size: 38px;
  letter-spacing: 4px;
  font-weight: 100;
  text-align: center;
  @include media(sm){
    margin-top: 35px;
  }
  @include media(xs){
    font-size: 31px;
  }
}
.anli_picture_wrap{
  position: relative;
  margin-left: 8%;
  margin-right: 8%;
  width: 84%;
  height: 250px;
  font-size: 18px;
  &:hover{
    >div{
      transform: translateY(10px);
    }
  }
  @include media(md){
    height: 220px;
    font-size: 15px;
  }
  @include media(sm){
    height: 240px;
  }
  @include media(xs){
    margin: 0 auto;
    width: 279px;
  }
  >div{
    position: relative;
    width: 100%;
    height: 150px;
    margin-bottom: 29px;
    background-color: #fff;
    z-index: 1;
    padding: 2px;
    border: 1px solid #eee;
    transition: 0.4s 0.15s;
    @include media(md){
    height: 123px;
     }
    @include media(sm){
    height: 141px;
     }
       >img{
         width:100%;
         height: 100%;
       }
  }
  >div:nth-child(2){
    position: absolute;
    left:-10px;
    top:-10px;
    z-index: 0;
    transition: 0.4s 0.3s;
  }
  >div:nth-child(3){
    left: 10px;
    top:10px;
    position: absolute;
    z-index: 3;
    transition: 0.4s;
  }
  >p{
    text-align: center;
    font-size: 18px;
    color: #666;
    line-height: 22px;
    @include text-ellipsis(2)
  }
}
//分类
.class_wrap{
  position: fixed;
  top: 10%;
  right: 0;
  height: 172px;
  width: 15px;
  background-color:#1e96d5;
  z-index: 10;
  transition: all 0.5s;
  border-top-left-radius: 17px;
  border-bottom-left-radius: 17px;
  &:hover{
    transform: translateX(-265px);
    width: 0;
  }
  @include media(xs){
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    background-color: #fff;
    &:hover{
      transform: translateX(0px);
      width: 100%;
    }
  }

  >div{
    position: absolute;
    left: 15px;
    top:0;
    width: 250px;
    padding: 10px;
    background-color: #f8f8f8;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-bottom-left-radius: 5px;
    @include media(xs){
      position: relative;
      width: 100%;
      left: 0;
      background-color: #fff;
      border-right: 1px solid #aaa;
      border-bottom-right-radius: 5px;
    }
    >div{
      position: relative;
      margin-bottom:15px;
      >p{
        position: absolute;
        top:6px;
        font-weight: 900;
        height: 19px;
        line-height: 19px;
        font-size: 14px;
      }
      >ul{
       margin-left: 33px;
        >li{
          float: left;
          margin-left: 10px;
          padding: 4px;
          border-radius: 3px;
          font-weight: bold;
          cursor: pointer;
          height: 25px;
          line-height: 19px;
          color: #666;
        }
        >.hover{
          background-color: #1d95d2;
          color: #fff;
        }
      }
    }
  }
}
.more{
  width:100px;
  font-size: 20px;
  letter-spacing: 5px;
  margin: 30px auto 30px auto;
  color: #aaa;
  cursor: pointer;
  &:hover{
    color: #666;
  }
}